import com.intellij.notification.Notification;
import com.intellij.notification.NotificationType;
import com.intellij.notification.Notifications;
import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;

import javax.swing.*;

public class abc extends AnAction {

    @Override
    public void actionPerformed(AnActionEvent e) {
        System.out.println("ABC action");
        // TODO: insert action logic here
        Notification xxx = new Notification("xxx", (Icon) null, NotificationType.ERROR);
        Notifications.Bus.notify(xxx);
    }
}
